package cn.kgc.service.impl;

import cn.kgc.dao.Dao_hxy;
import cn.kgc.pojo.Pojo_hxy;
import cn.kgc.service.Service_hxy;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ServiceImpl_hxy implements Service_hxy {

    @Resource
    private Dao_hxy dao;

    @Override
    public Page<Pojo_hxy> selAllResumes(String name, String positionName, String experience, String status, String rTime) {
        return dao.selAllResumes(name,positionName,experience,status,rTime);
    }

    @Override
    public Page<Pojo_hxy> selAllResumes1(String name, String positionName, String experience, String status, String rTime) {
        return dao.selAllResumes1(name,positionName,experience,status,rTime);
    }

    @Override
    public Pojo_hxy selResumeById(Integer resumeId) {
        return dao.selResumeById(resumeId);
    }

    @Override
    public Integer updView(Integer interviewId, String status, String oneInterviewer, String oneTime, String oneOpinion,
                           String twoInterviewer, String twoTime, String twoOpinion, String threeInterviewer,
                           String threeTime, String threeOpinion, String endTime, String endOpinion) {
        return dao.updView(interviewId,status,oneInterviewer,oneTime,oneOpinion,twoInterviewer,twoTime, twoOpinion,
                threeInterviewer,threeTime, threeOpinion, endTime, endOpinion);
    }

    @Override
    public Integer updView1(Integer interviewId, String status, String oneInterviewer, String oneTime, String oneOpinion,
                           String twoInterviewer, String twoTime, String twoOpinion, String threeInterviewer,
                           String threeTime, String threeOpinion, String endTime, String endOpinion) {
        return dao.updView1(interviewId,status,oneInterviewer,oneTime,oneOpinion,twoInterviewer,twoTime, twoOpinion,
                threeInterviewer,threeTime, threeOpinion, endTime, endOpinion);
    }

}
